home *** CD-ROM | disk | FTP | other *** search
/ Champak 106 / Vol 106.iso / games / hulk.swf / scripts / MiniMap.as < prev    next >
Encoding:
Text File  |  2010-04-12  |  887 b   |  43 lines

  1. package
  2. {
  3.    import marvel.centralsmashdown.game.views.MiniMap;
  4.    
  5.    [Embed(source="/_assets/assets.swf", symbol="MiniMap")]
  6.    public dynamic class MiniMap extends marvel.centralsmashdown.game.views.MiniMap
  7.    {
  8.        
  9.       
  10.       public function MiniMap()
  11.       {
  12.          super();
  13.          addFrameScript(1,frame2,12,frame13,21,frame22,29,frame30);
  14.       }
  15.       
  16.       internal function frame22() : *
  17.       {
  18.          if(_showing == true)
  19.          {
  20.             gotoAndStop("in");
  21.          }
  22.       }
  23.       
  24.       internal function frame13() : *
  25.       {
  26.          masker.gotoAndStop(2);
  27.       }
  28.       
  29.       internal function frame2() : *
  30.       {
  31.          if(_showing != true)
  32.          {
  33.             gotoAndStop("out");
  34.          }
  35.       }
  36.       
  37.       internal function frame30() : *
  38.       {
  39.          masker.gotoAndStop(1);
  40.       }
  41.    }
  42. }
  43.